﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B1F RID: 2847
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MGIGPKHDFLH : IMessage<MGIGPKHDFLH>, IMessage, IEquatable<MGIGPKHDFLH>, IDeepCloneable<MGIGPKHDFLH>, IBufferMessage
	{
		// Token: 0x170023F9 RID: 9209
		// (get) Token: 0x06007F76 RID: 32630 RVA: 0x001545B4 File Offset: 0x001527B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MGIGPKHDFLH> Parser
		{
			get
			{
				return MGIGPKHDFLH._parser;
			}
		}

		// Token: 0x170023FA RID: 9210
		// (get) Token: 0x06007F77 RID: 32631 RVA: 0x001545BB File Offset: 0x001527BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MGIGPKHDFLHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170023FB RID: 9211
		// (get) Token: 0x06007F78 RID: 32632 RVA: 0x001545CD File Offset: 0x001527CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MGIGPKHDFLH.Descriptor;
			}
		}

		// Token: 0x06007F79 RID: 32633 RVA: 0x001545D4 File Offset: 0x001527D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGIGPKHDFLH()
		{
		}

		// Token: 0x06007F7A RID: 32634 RVA: 0x001545DC File Offset: 0x001527DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGIGPKHDFLH(MGIGPKHDFLH other) : this()
		{
			this.num_ = other.num_;
			this.dGOBHABBJPD_ = other.dGOBHABBJPD_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007F7B RID: 32635 RVA: 0x0015460D File Offset: 0x0015280D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGIGPKHDFLH Clone()
		{
			return new MGIGPKHDFLH(this);
		}

		// Token: 0x170023FC RID: 9212
		// (get) Token: 0x06007F7C RID: 32636 RVA: 0x00154615 File Offset: 0x00152815
		// (set) Token: 0x06007F7D RID: 32637 RVA: 0x0015461D File Offset: 0x0015281D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Num
		{
			get
			{
				return this.num_;
			}
			set
			{
				this.num_ = value;
			}
		}

		// Token: 0x170023FD RID: 9213
		// (get) Token: 0x06007F7E RID: 32638 RVA: 0x00154626 File Offset: 0x00152826
		// (set) Token: 0x06007F7F RID: 32639 RVA: 0x0015462E File Offset: 0x0015282E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DGOBHABBJPD
		{
			get
			{
				return this.dGOBHABBJPD_;
			}
			set
			{
				this.dGOBHABBJPD_ = value;
			}
		}

		// Token: 0x06007F80 RID: 32640 RVA: 0x00154637 File Offset: 0x00152837
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MGIGPKHDFLH);
		}

		// Token: 0x06007F81 RID: 32641 RVA: 0x00154645 File Offset: 0x00152845
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MGIGPKHDFLH other)
		{
			return other != null && (other == this || (this.Num == other.Num && this.DGOBHABBJPD == other.DGOBHABBJPD && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007F82 RID: 32642 RVA: 0x00154684 File Offset: 0x00152884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Num != 0U)
			{
				num ^= this.Num.GetHashCode();
			}
			if (this.DGOBHABBJPD != 0U)
			{
				num ^= this.DGOBHABBJPD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007F83 RID: 32643 RVA: 0x001546DC File Offset: 0x001528DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007F84 RID: 32644 RVA: 0x001546E4 File Offset: 0x001528E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007F85 RID: 32645 RVA: 0x001546F0 File Offset: 0x001528F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Num != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Num);
			}
			if (this.DGOBHABBJPD != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.DGOBHABBJPD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007F86 RID: 32646 RVA: 0x0015474C File Offset: 0x0015294C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Num != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Num);
			}
			if (this.DGOBHABBJPD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DGOBHABBJPD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007F87 RID: 32647 RVA: 0x001547A4 File Offset: 0x001529A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MGIGPKHDFLH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Num != 0U)
			{
				this.Num = other.Num;
			}
			if (other.DGOBHABBJPD != 0U)
			{
				this.DGOBHABBJPD = other.DGOBHABBJPD;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007F88 RID: 32648 RVA: 0x001547F4 File Offset: 0x001529F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007F89 RID: 32649 RVA: 0x00154800 File Offset: 0x00152A00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.DGOBHABBJPD = input.ReadUInt32();
					}
				}
				else
				{
					this.Num = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040030CB RID: 12491
		private static readonly MessageParser<MGIGPKHDFLH> _parser = new MessageParser<MGIGPKHDFLH>(() => new MGIGPKHDFLH());

		// Token: 0x040030CC RID: 12492
		private UnknownFieldSet _unknownFields;

		// Token: 0x040030CD RID: 12493
		public const int NumFieldNumber = 3;

		// Token: 0x040030CE RID: 12494
		private uint num_;

		// Token: 0x040030CF RID: 12495
		public const int DGOBHABBJPDFieldNumber = 15;

		// Token: 0x040030D0 RID: 12496
		private uint dGOBHABBJPD_;
	}
}
